<template>
	<view>
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	import {
		GetenterprisePolicyId
	} from '@/api/Property/index.js'
	export default{
		data(){
			return{
				id:'',
				url:''
			}
		},
		onLoad(e) {
			this.id=e.id
		},
		onShow() {
			this.getenterprisePolicyId()
		},
		methods:{
			getenterprisePolicyId(){
				let obj={
					id:this.id
				}
				GetenterprisePolicyId(obj).then((res)=>{
					this.url=res.data.fileUrl
				})
			}
		}
	}
</script>

<style>
</style>